-- GENERATED SPELL FOR [Charged Sphere] --


function spell0_33715(pUnit, Event) --@Supercharged,n/a--
pUnit:FullCastSpellOnTarget(63528,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33715', 15269, 1)
end

function Sorts_33715(pUnit, Event)
local choix_sorts_33715 = math.random(0, 0)
if choix_sorts_33715 == 0 then
pUnit:RegisterEvent('spell0_33715', 1, 1)
end
end

function mob33715_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33715', math.random(1500, 3000), 1)
end

function mob33715_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33715_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33715_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33715, 1, 'mob33715_Action')
RegisterUnitEvent(33715, 2, 'mob33715_Leave')
RegisterUnitEvent(33715, 3, 'mob33715_Kill')
RegisterUnitEvent(33715, 4, 'mob33715_Die')
